IMAPISession : IUnknown

The IMAPISession interface is used to manage objects associated with a MAPI logon session.

Quick Info

 

Header file:

MAPIX.H

Exposed by:

Session objects

Implemented by:

MAPI

Called by:

Client applications and MAPI

Corresponding pointer type:

LPMAPISESSION

 

Vtable Order

GetLastError39J16BE

Returns a MAPIERROR4GS6AI structure containing information about the previous session error.

GetMsgStoresTableCF6D2F

Provides access to the message store table, a table with information about all of the message stores in the session profile.

OpenMsgStoreH_S8WS

Opens a message store and returns an IMsgStore pointer for further access.

OpenAddressBookC0WT.7

Opens MAPI s integrated address book and returns an IAddrBook pointer for further access.

OpenProfileSectionDJX54W

Opens a section of the current profile and returns an IProfSect pointer for further access.

GetStatusTable11Y45OK

Provides access to the status table, a table with information about all of the MAPI resources in the session.

OpenEntrySU4OVY

Opens an object and returns an interface pointer for further access.

CompareEntryIDsZ9F4JH

Compares two entry identifiers to determine if they refer to the same object.

Advise18CUA3O

Registers to receive notification of specified events affecting the session.

Unadvise15MMYV2

Cancels the sending of notifications previously set up with a call to the IMAPISession::Advise method.

MessageOptionsEGEI.U

Displays a dialog box showing option properties for a particular address type and message.

QueryDefaultMessageOpt12N68BP

Retrieves the message option properties for a particular address type.

EnumAdrTypes42ASPB1

Returns the address types that can be handled by all of the transport providers in the session.

QueryIdentity6XWZ0W

Returns the entry identifier of the object that provides the primary identity for the session.

Logoff1CNFFQP

Ends a MAPI session.

SetDefaultStore59YDCF

Establishes a message store as the default message store for the session.

AdminServices7JTQZG

Returns an IMsgServiceAdmin pointer for making changes to message services.

ShowFormF1MMN4

Displays a form.

PrepareForm1UMA_KY

Creates a numeric token to be used by the IMAPISession::ShowForm method to access a message.